@(corpid: String,company:String)(implicit session:Session)
@import security.access.PermissionAccess
@ionicmain(company,modals= modals,scripts=js) {
<script>
var dingCorpId = "@corpid";
var company = "@company";
</script>
        <ion-header>
            <ion-toolbar>
                <ion-buttons slot="start">
                    <ion-menu-button></ion-menu-button>
                </ion-buttons>
                <ion-title>个人中心（<span id="username">@session.get("uname")</span>）</ion-title>
            </ion-toolbar>
        </ion-header>
        <ion-content class="ion-padding">

            <ion-button expand="block">目前开通部分功能给个人使用，打开左侧菜单进入。</ion-button>

            <p>👆点击左上角打开菜单，<br><br>👈或按住左侧边缘向右拉出菜单。</p>



        </ion-content>
<ion-content  class="ion-padding">

    @if(session.get("accid").nonEmpty){<!-- if user.is_authenticated -->
    <a href="javascript:;">
        @session.get("uname")
    </a>
    <dl class="">
        <dd><a href="javascript:;">@company</a></dd>
        <dd><a href="javascript:;">@PermissionAccess.getPermission(session.get("admin").getOrElse("0"))</a></dd>
        <dd><a href="@routes.UsersController.logout()">退出</a></dd>
    </dl>
    }else{<!-- else -->

    <a data-method="loginnotice" data-type="auto" class="lay-btn">登陆</a>

    }

</ion-content>



}
@js = {
<script src='@routes.Assets.versioned("js/dingtalk_pc.js")' type="text/javascript"></script>
}
@modals = {


}


